package src.model.gameObject.eventInterfaces;

import src.model.gameObject.GameObject;

/**
 * This is implemented whenever something wishes to notify about health modification events. Things
 * such as attacking, healing, etc will implement this to talk to the Health that they wish to notify.
 * @author Tristan
 *
 */
public interface HealthPublisher {
	
	/**
	 * Publishes a modify health event to the HealthEventBroker.
	 * @param go The GameObject that is having its Health modified.
	 * @param modifyAmount The amount to modify its Health by.
	 */
	public void publishHealthModifier(GameObject go, float modifyAmount);
}
